<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <meta http-equiv="X-UA-Compatible" content="IE=edge" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <title>小米侧边工具栏</title>
    <link rel="stylesheet" href="../css/reset.css" />
    <link rel="stylesheet" href="//at.alicdn.com/t/c/font_4267181_3m6pwt20luf.css" />
    <style>
      * {
        box-sizing: border-box;
      }

      .side {
        position: absolute;
        display: flex;
        flex-direction: column;
        top: 200px;
        right: 0;
        width: 84px;
        height: 455px;
        border: 1px solid #ccc;
      }

      .side a {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        flex-grow: 1;
        color: #9b9b9b;
      }

      .side a em {
        font-size: 30px;
      }

      .side a span {
        font-size: 14px;
      }

      .side a:hover {
        color: #ed6819;
      }
    </style>
  </head>
  <body>
    <div class="side">
      <a href="#">
        <em class="iconfont icon-shouji"></em>
        <span>手机APP</span>
      </a>
      <a href="#">
        <em class="iconfont icon-gerenzhongxin"></em>
        <span>个人中心</span>
      </a>
      <a href="#">
        <em class="iconfont icon-repare"></em>
        <span>售后服务</span>
      </a>
      <a href="#">
        <em class="iconfont icon-shouhou"></em>
        <span>人工客服</span>
      </a>
      <a href="#">
        <em class="iconfont icon-gouwuchekong"></em>
        <span>购物车</span>
      </a>
    </div>
  </body>
</html>
